/*
 * @Author: heyang
 * @Date: 2024-07-19 09:30:32
 * @LastEditors: heyang
 * @LastEditTime: 2024-07-19 11:36:56
 * @FilePath: \draw-project\src\router\modules\home.ts
 * @Description: 
 * 
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved. 
 */
const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/",
  name: "Home",
  component: Layout,
  redirect: "/welcome",
  meta: {
    icon: "ri:box-3-line",
    title: "专家管理",
    rank: 0
  },
  children: [
    {
      path: "/welcome",
      name: "Welcome",
      component: () => import("@/views/welcome/index.vue"),
      meta: {
        title: "专家管理",
        // showLink: VITE_HIDE_HOME === "true" ? false : true
      }
    }
  ]
} satisfies RouteConfigsTable;
